package cn.stylefeng.guns.modular.tool.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import cn.stylefeng.guns.modular.tool.entity.ToolGoodsInstall;
import cn.stylefeng.guns.modular.tool.model.params.ToolGoodsInstallParam;
import cn.stylefeng.guns.modular.tool.model.result.ToolGoodsInstallResult;

/**
 * 产品重量设置 Mapper 接口
 */
public interface ToolGoodsInstallMapper extends BaseMapper<ToolGoodsInstall> {

    /**
     * 获取列表
     *
     * @author 
     * @Date 2022-04-25
     */
    List<ToolGoodsInstallResult> customList(@Param("paramCondition") ToolGoodsInstallParam paramCondition);

    /**
     * 获取map列表
     *
     * @author 
     * @Date 2022-04-25
     */
    List<Map<String, Object>> customMapList(@Param("paramCondition") ToolGoodsInstallParam paramCondition);

    /**
     * 获取分页实体列表
     *
     * @author 
     * @Date 2022-04-25
     */
    Page<ToolGoodsInstallResult> customPageList(@Param("page") Page page, @Param("paramCondition") ToolGoodsInstallParam paramCondition, @Param("condition") String condition, @Param("operateId")Long operateId);

    /**
     * 获取分页map列表
     *
     * @author 
     * @Date 2022-04-25
     */
    Page<Map<String, Object>> customPageMapList(@Param("page") Page page, @Param("paramCondition") ToolGoodsInstallParam paramCondition);

	boolean saveBatchList(@Param("list")List<ToolGoodsInstallParam> savelist);

	List<ToolGoodsInstallResult> findListBySpec( @Param("paramCondition")ToolGoodsInstallParam param, @Param("operateId")Long operateId);

	ToolGoodsInstallResult findBySpec(@Param("paramCondition")ToolGoodsInstallParam param,@Param("operateId") Long operateId);

}
